Closed
Conversation
Member
|
能够否与AnimeA{I/wallet整合? |
Author
是将那个贷款期间禁止转账的函数移到AnimeAPI/wallet里面吗 |
Member
|
我是指扩展 wallet,在相同位置新建一个数据库或表,将 bank 相关逻辑都移进去。 |
Member
|
目前的 yaml 不是很适合管理每次仅需变动一小部分的数据,用数据库更合适。 |
Author
能否用官方的sql库,还是说用zbp的sql库更好 |
Member
可以用gorm,sqlite zbp用的是目前唯一的纯go解决方案。 |
Contributor
源神啥时候统一一下zbp的货币,其他的插件我看赚米都是几k几k的赚,有的插件就是只能每次赚十几个(签到),而且还没地方花 |
Author
我正在写的股票插件可以用来花atri币,目前也写完基础功能了,但我用的是yaml。源说最好用zbp的sql库。现在我也没什么时间去重构整个插件了,看看以后有时间吧。 |
Member
|
你要是没时间先合并也不是不行 |
fumiama
requested changes
Sep 10, 2025
README.md
Outdated
|
|
||
| - [x] 磕cp大老师 雪乃 | ||
|
|
||
| </details> |
|
|
||
| // 添加自动扣款任务 | ||
| autoDeductLoanPayment() | ||
| } |
plugin/bank/main.go
Outdated
| interestPath = engine.DataFolder() + "interest.yaml" | ||
| accounts = make(map[int64]*Account) // 内存中的账户数据 | ||
| dailyInterest = &InterestInfo{CurrentRate: 0.01} // 默认活期利率 1% | ||
| ) No newline at end of file |
Author
谢谢老大! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.